class Person{
    constructor(name,age){
        this.name = name
        this.age = age
    }

    walk(){
        console.log('走起。。。')
    }
}

class Chinese extends Person{
    constructor(name,age,six){
        super(name,age)
        this.six = six
    }
}

class American extends Person{

}

const c1 = new Chinese("小花",3,"女")
const a1 = new American("Jack",6)
console.log(c1)
c1.walk()
console.log(a1)
a1.walk()
console.log("c1.name ="+c1.name)
console.log("a1.name ="+a1.name)

